/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yaps.petstore.dao;

import com.yaps.petstore.entity.catalog.Category;
import com.yaps.petstore.entity.catalog.Product;
import java.util.List;

/**
 *
 * @author pfa
 */
public interface ProductDAO {

    Product createProduct(final Product product, final Category category);

    void deleteProduct(final Product product);

    Product findProduct(final Long productId);

    List<Product> findProducts();

    Product updateProduct(final Product product, final Category category);
    
}
